#pragma once

#include <linux/types.h>

#define READ     0
#define WRITE    1

#define MAJOR(a) (((unsigned)(a)) >> 8)
#define MINOR(a) ((a)&0xff)

#ifdef __KERNEL__

extern dev_t ROOT_DEV;

#endif
